#{extends 'main.html' /}
#{set title:'Home' /}

Novo Bairro

<form action="@{Neighborhoods.save()}" method="POST">

	<div>
		<label for="neighborhood.name" value="${flash.name}">Nome</label><br/>
		<input type="text" name="neighborhood.name" /><br/>
		<span class="error">#{error 'neighborhood.name' /}</span>
	</div>

	<input type="submit" name="submit" value="Cadastrar" />

</form>